/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconTimeFilled: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M512 96c229.76 0 416 186.24 416 416s-186.24 416-416 416S96 741.76 96 512 282.24 96 512 96z m-32 160a32 32 0 0 0-32 32v224l0.288 4.192a32 32 0 0 0 9.088 18.432l160 160 3.008 2.656a32 32 0 0 0 42.24-2.656l2.656-3.008a32 32 0 0 0-2.656-42.24L512 498.72V288l-0.224-3.744A32 32 0 0 0 480 256z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconTimeFilled.defaultProps = {
  size: 18,
};

export default IconTimeFilled;
